const oneStopOffice = (request) => {
	return {
		view_bscSkillTraining_page(query = {}) {
			return request(`/application/bscSkillTraining/page`, {
				method: 'post',
				data: query,
			})
		},
		view_bscSkillTraining_add(query = {}) {
			return request(`/application/bscSkillTraining/add`, {
				method: 'post',
				data: query,
			})
		},
		view_bscStudyRecord_page(query = {}) {
			return request(`/application/bscStudyRecord/page`, {
				method: 'post',
				data: query,
			})
		},
		view_bscSkillTraining_view(id) {
			return request(`/application/bscSkillTraining/${id}`, {
				method: 'get',
			})
		},
		areaList(query) {
			return request(`/admin/sysadministration/sysAdministrationPage`, {
				method: 'post',
        data: query
			})
		},
		view_bscKinshipApply_page(query) {
			return request(`/application/bscKinshipApply/page`, {
				method: 'post',
        data: query
			})
		},
		view_bscKinshipApply_view(id) {
			return request(`/application/bscKinshipApply/${id}`,{
				method: 'get'
			})
		},
		view_bscQuestionBank_view(id) {
			return request(`/application/bscQuestionBank/${id}`,{
				method: 'get'
			})
		},
		view_bscQuestionBank_page(query={}) {
			return request(`/application/bscQuestionBank/page`,{
				method: 'post',
				data: query
			})
		},
		view_bscQuestionBank_list(query={}) {
			return request(`/application/bscQuestionBank/list`,{
				method: 'post',
				data: query
			})
		},
		view_bscQuestionBank_add(query={}) {
			return request(`/application/bscQuestionBank/add`,{
				method: 'post',
				data: query
			})
		},
		view_bscQuestionBank_del(query={}) {
			return request(`/application/bscQuestionBank/del`,{
				method: 'post',
				data: {
					batchesDel: query
				}
			})
		},
		view_bscQuestionBank_edit(query={}) {
			return request(`/application/bscQuestionBank/edit`,{
				method: 'post',
				data: query
			})
		},
		view_bscQuestionItem_add(query={}) {
			return request(`/application/bscQuestionItem/add`,{
				method: 'post',
				data: query
			})
		},
		view_bscQuestionItem_page(query={}) {
			return request(`/application/bscQuestionItem/page`,{
				method: 'post',
				data: query
			})
		},
		view_bscQuestionItem_del(query={},bankId,score,id) {
			return request(`/application/bscQuestionItem/del`,{
				method: 'post',
				data: {
					bankId,
					id,
					score,
					batchesDel: query
				}
			})
		},
		view_bscQuestionItem_view(id) {
			return request(`/application/bscQuestionItem/${id}`,{
				method: 'get'
			})
		},
		view_bscQuestionItem_edit(query) {
			return request(`/application/bscQuestionItem/edit`,{
				method: 'post',
				data: query
			})
		},
		view_bscSkillTrainingItem_page(query) {
			return request(`/application/bscSkillTrainingItem/trainersPage`,{
				method: 'post',
				data: query
			})
		},
		view_dpPolicyDocumentBsc_gather(query) {
			return request(`/application/dpPolicyDocumentBsc/gather`,{
				method: 'post',
				data: query
			})
		},
		
		view_bscOrderOnline_page(query) {
			return request(`/application/bscOrderOnline/page`,{
				method: 'post',
				data: query
			})
		},
		view_bscBusinessRule_page(query) {
			return request(`/application/bscBusinessRule/page`,{
				method: 'post',
				data: query
			})
		},
		view_bscBusinessRule_view(id) {
			return request(`/application/bscBusinessRule/${id}`,{
				method: 'get'
			})
		},
		view_bscBusinessRule_add(query) {
			return request(`/application/bscBusinessRule/add`,{
				method: 'post',
				data: query
			})
		},
		view_bscBusinessRule_edit(query) {
			return request(`/application/bscBusinessRule/edit`,{
				method: 'post',
				data: query
			})
		},
		view_bscBusinessProcess_page(query) {
			return request(`/application/bscBusinessProcess/page`,{
				method: 'post',
				data: query
			})
		},
		view_bscBusinessProcessLog_list(query) {
			return request(`/application/bscBusinessProcessLog/list`,{
				method: 'post',
				data: query
			})
		},
		view_dpPolicyDocumentBsc_innerPage(query) {
			return request(`/application/dpPolicyDocumentBsc/page`,{
				method: 'post',
				data: {
					type:0,
					...query
				}
			})
		},
		view_dpPolicyDocument_view(id) {
			return request(`/bussiness/dpPolicyDocument/${id}`,{
			})
		},
		// 分页查询订单记录后台
		view_bscOrderOnline_page_pc(query={}) {
			return request(`/application/bscOrderOnline/pagePc`,{
				method: 'post',
				data: query
			})
		},
		// 数据分析两个查询接口
		// 一站办用户查询查询
		view_bscOperateLog_page(query={}) {
			return request(`/application/bscOperateLog/page`,{
				method: 'post',
				data: query
			})
		},
		// 用户评价控制器
		view_bscOrderComment_page(query={}) {
			return request(`/application/bscOrderComment/page`,{
				method: 'post',
				data: query
			})
		}
	}
}
export default ({ request }: any) => ({
	...oneStopOffice(request),
})
